import request from '@/utils/request'
//大合集 
// 列表
export function getCollectionList(params) {
    return request({
        url: '/collection/index',
        method: 'POST',
        data: params
    })
}
// 详情
export function getCollectionDetail(params) {
    return request({
        url: '/collection/detail',
        method: 'POST',
        data: params
    })
}
// 添加
export function addCollection(params) {
    return request({
        url: '/collection/create',
        method: 'post',
        data: params
    })
}
// 删除
export function delCollection(params) {
    return request({
        url: '/collection/delete',
        method: 'post',
        data: params
    })
}
// 发布
export function statusCollection(params) {
    return request({
        url: '/admin/Collection/status',
        method: 'post',
        data: params
    })
}
// 编辑
export function editCollection(params) {
    return request({
        url: '/collection/update',
        method: 'post',
        data: params
    })
}
// 合集下拉列表
export function allCollection(params) {
    return request({
        url: '/collection/select',
        method: 'post',
        data: params
    })
}